added tests for remoteclient