Added extra test for ClientImpl.authenticate to check for the preferred region
Cleaned up AbstractCommandTest