tests for PUT functionality

@ormsbee