better way to test pair-wise execution