Examples of how to test Scala classes