Added testMethod dependence on sparqlQuery return