Move test to src/test/scala
Add scala test and scalacheck