Add test for rejecting bad json in posts