Added test cases for issue 1, correct accept header handling.