Updated tests suite to support jquery > 1.3 by fixing event test.

Change-Id: I7428d7105e35bc1b17bd647789b9b0ffd31a2ff1