added sqlite to tests and added EntityCacheTest
added repository logic
on second thought, use a memory db
added tests, sqlite memory
bootstrapping test, and holy the tests are working