Spelling and phrasing corrected
More elaborated test harness
Fixed a bug that prevented the PUT request from working when there was a type present in the request