core: memory: all tests

Signed-off-by: Eduardo Silva <eduardo@monkey.io>