tests: added more tests to radix-tree
radix-tree: added node_free function, stub remove function
radix-tree: fixed some flags not being set