Changes to unit test example and corrected syntax error in form.js