changed headers and put in a test unittest