header fixes, started writing first unittests, dont print headers in response method