add Repository#find_or_initialize  and use it in integration tests