fixing scala test