Testing JQuery Functionalities