set expiry on message storing + test