Repository test setup