Added tests for the SceForm and fixed it to pass all tests run by the form.js tester