Ditch unit test on endpoint. Do it via acceptance tests