Removed the Entity<TKey> restriction from the Repository methods where it wasn't relevant
Architectural change: I removed the entity  / key idea because I'm working in memory and it doesn't make sense there (I point to objects instead of creating foreign keys)
The (failing) concurrency test shows the problem very nicely
Fixed the concurrency issue