Initial RepositoryState and tests