Fixing issue 305.

Added a Session deletion for unit test "test_sqlitecachedbhandler" to solve the "Session is singleton" problem in running batched unit tests.