fixed a bug found in unit testing
added some tests for the GenericSparql class