add test files
scala style fixed