Unify capture and promotion tests