Fixing jquery test