add expanded memory backend tests

checks proper functioning of `max_memory`, `ttl`, and the two in combination under both the multi-backend and memory only.

test for PR: #963

cc @engelsanchez @reiddraper