Created Double free metrics and some tests

Signed-off-by: Lucas Kanashiro <lucas-kanashiro@hotmail.com>