Updated sparql tests for nested queries