Added an example scala test