SES-1803 : Convert QueryResultsTest to JUnit-4

Also add some more tests to verify equality of string literals that are
created differently
SES-1803 : Add more bnode tests to QueryResultsTest to ensure that the
algorithm works with three results