expiring-set-test: extract expire item test assertions into function
expiring-set-test: extract expire item test assertions into function

Planning on using same tests for expired items received from a peer.

mpareja/node-uncorded,mpareja/node-uncorded