continued to add unit tests and updating Repository object