Adding a unit test for Issue 3

This adds a unit test to check the PUT handler.