Add tests for remote version.