Fixed bug in include in question manager and added a unit test for the question manager