Enhancing functional test to check response content type