Adding sample test from CakePHP documentation