generate scala test code by globbing among tests (borrowed from gulp). Also commit generated test code