Fix constants visilibity.
Test if the server is up before other tests.
Renaming class.
Optimizing imports.