Added test to return a list of headers and created function to build a response string.