updating to gradle building, adding scala test tests