add scala class model test case