updated test to reflect how escape would be used, namely inside extending class. Added connection error and echo before markTestSkipped
fixed namespace, added escapeObjectPair method, corrected error checking of mysql row