Pass -Dtest=true flag to gradle so that tests don't run forever