Fixed jQuery test cases