Use scalatest.
Switch to scalatest test framework.
Remove compiler warnings.