add scala extrator model and test case