a bit of framework for testing
remove unused import
lazily load ORM sessions, too
Add testing framework