Sample tests using Scala