added tests for onerror exploit with disableReturn false and disableReturn true