throw nicer exception for getRootNode
fix acceptance tester for type response to return response