Add test for assertStatusCode and cleanup.

As promised the test for https://github.com/cakephp/cakephp/pull/5412

Also code grooming :P

- viewVariable() was in the middle of the asserts, it now preceeds those methods.
- consistent "3rd person verb"