Added locking repository implementation

Refactored aggregate fixtures
Added additional cases for BaseRepository