moved tests to src/test/scala