add some tests for remote.coffee; still more needed