modified test so it also passes on a windows pc
made it possible to include custom headers in the response