ongoing, scala unit testing still remains todo....