fixing gradle build so that tests run via command line