gradle seems to have problems with these kinds of tests