Fix test

pull request
test can now be run from gradle