fixed include bug in question manager, added unit test for question manager