prepare to test revision diff

add a failing test that at least removes all the fatal errors so we can
get started
fix up the remote class to detect errors in request setup
fix bugs found in testing