Started implementing unit tests for repository