add scala actor moedel and test case