fixed unit tests to pass (CakePHP 2.5)