Added validation tests for PUT and POST calls.