Fixed application context issue with flask_testing. Now to figure out how to properly pass the form information to the view function when we use self.client.post().