Add tests to solidify and verify debug api

Currently it is not possible with CF and cloud controller to turn off debug mode.  I think this is a caused by a misunderstanding in the debug change api between cf and the cloud controller.

Since I cannot find any specification I'm going to assume that the cloud controller is correct.  So I've created some tests to help solidify what the api is.