fix #422 tests failing in old browsers

Fix two tests failing in IE7 and FF3.6
fix #385 Gestures test cases

Fix an error in the test cases of gesture events