test header formatting
refactor response