Add test for invalid POST request