go testing wrapper