unit test for gradle tasks