Updated DBQueryTest to remove relation tests

Title says it all.