adding jquery to test html and setting up new constructor and tests for constructor