needed to add a setHeader method to test response