Few more scala problems with tests