Adds headers options

Adds headers options to api calls tests