added some scala test code