Added Socrates test
Added error checking in query
Genealogy test