tester for failed event usage in JS