scala test sample