form validation check in post and assert_in_title utility method