UI tests now work on device.

Can now specify the location of the test server to delete the database etc.

Merged two test classes with closer relations.

Login or name should always appear on an options menu.

Fixed various ui test issues.