Conditionally define DS.

My app test suites trigger notice errors on phpunit startup without this
change. I think similar changes are needed in bake's test suite.
Merge pull request #202 from cakephp/test-notice

Conditionally define DS.