New tests for handling a bad form post and a bad page request