Switch to using scalatest for the test framework.

Switched to scalatest because I’m partial to its FlatSpec and Matchers.