I added unit tests for db session manager layer. In addition I fixed the caching of engine and cleanup of opened sessions.
I updated doc.