write async resolution / rejection tests