Modified the test a bit

Cleaned up things, made sure it submitted POSTS for real.

Added a couple tests that ensure it doesn't break on non-post
requests.
Only do stuff if it's a POST