Some minor fixes to the tests

Running the Test suite in the web runner using PHP 5.4.12 and CakePHP 2.3.4 produces.

`26/26 test methods complete: 12 passes, 0 fails, 46 assertions and 14 exceptions.`

I've made a few minor fixes to correct these exceptions.