Added tests director. Test for session_factory and an example test