Event Object tests for jquery