test repository first