add scala list implementing test case