Add test for setting responseType parameter

This verifies that the responseType is set, but not that it is a legal
value or one which the browser will understand.