add scala Map and List test case