adding tests (and fixing bugs) to ensure .cancel and formnovalidate bypass validation