core: garbage_collector: new test

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