Fix tests for items:
add before function,
improve comments,
add test for "putItem" request.