removed dependencies from tests by adding "helper" methods to testclass
changed repositoryDB for better readability