Fixing test case related to jQuery.data()