Removed gcWrap hack
Added a robust gc test