Adding a test for the new json and xml detectors that were added to the CakeRequest class.