Better to have test samples in Scala