test for resultType: both