Add test for POST endpoint