Converted accept header matcher test to phpunit.