adding unit test for $.fn.formToObject