Scala/Scalatra Test code