use gradle for test