Force header() method to get its headers from headers() method; make unit tests more portable