Add integration tests for the repoclient