add test case, refactor authoring controler, addTest method in ContentModel