Fix required argument parsing in PUT and POST

Fix stylistic issues
Add additional user test cases