Refactor: Change DocumentTest to RepositoryTest.