Added new test to ensure we return a 200 for the dashboard page.

Tidy up the tests.

Syntax tidy.

Whitespace removal.