Fix cache tests to account for callback style.

Were built with a return value in mind
initial pass at accepting data. ( PUT / POST )

put request can accept, deserialize data and return a response.