Why not just 'gradlew clean testDebugUnitTest' it ...
# gradle
t
Why not just 'gradlew clean testDebugUnitTest' it will run all the test tasks that match that name