Add tests for POST and DELETE