fix for allocation tests