Basic blackbox tests for bin/dulwich.

- Test for missing args.
- Environment to test for exceptions (see class DulwichResetTests for
  an example).