added allocator unittests and binary tree unittests
fixed reverse iteration in binary tree