form: added additional tests to Form.js