changed delete fn to take a list of keys as args
and return the number of keys deleted
SESS-13
changed tests of delete to check for timeouts also
SESS-13