Scala tests