minor xpath update
new tests for when responseType is set to an invalid string