Changing some tests to only check the javascript part of the generated form.