Scala Test cases