test api and the content-negotiation