Bug fixes to Model + unit tests

1. Minor bug fixes to Model classes
2. Adding unit tests for Mcq and TextAnswer db types