test writeByUserStamp
Tested writeByUserStamp