Fix for issue #342, Tests being skipped when extending Object.prototype