Switch to scalatest

Using JUnit was sometimes awkward because there are no Scala-ish matchers.
Scalatest is mature enough now to use it here.