add scala pattern matching test case
add scala stock model test case