fixed the conversion between scala and kotlin for ActionData in the tests