non-working unit test for vde dev
Added unit test. Fixed rbtree foreach/delete loop