SPARQL Tests Fix

change tests. more details in commit logs.