set accept header so we test application+json response, changed to use response code in assertion