Unit test, AUTHORS file, pep8

added unit test for header in create file 'content-type': 'application/octet-stream', 
added AUTHORS file, 
pep8 compliance