Updated POST test to accept extra http headers