Add tests for remote.{src,dest}

Hey @jdespatis,

I finally came around to writing some tests for your PR. Could you quickly check that this covers your code sufficiently?

/ref https://github.com/yeoman/generator/pull/417