Added additional tests and an stl allocator for gc'ed memory