Tests and namespace/coding standards changes.

started in on writing the tests for Controllers.
need to configure phpunit correctly.