Added controller tests for POST and DELETE requests.