SPARQLStore / Fix Namespace query support

Fixes #374 
If the expected result is a primitive, using `assertSame` has the benefit of also making sure the type is the same. Now it will pass if you get back null or an empty string.