Restructuring Repositories Collection; Extending Jasmine tests for basic functionality