add scala test model and some test case