test doctrine repository