Classname will have `\`, you need to replace that with DS. Also the name would start with `\` so you don't need to appends DS. This is what's causing test cases to fail on [travis](https://travis-ci.org/cakephp/cakephp/jobs/22654737#L141).