Implemented time check in doPut.
Fixed test argument in doPut.