Fixed issues with session. Added foundation entities of tests and questions.