Added setVersion method for testing purposes
Removed mock server.
Fixed test to run without mock server
Use mockit instead of mock server.