rust-dirstatemap: add unit tests...
rust-dirstatemap: add unit tests
These were missing and have already proven valuable since they have found
two bugs (fixed in previous patches).
There may be other behavior to test, but this gives us a decent coverage.
Differential Revision:
https://phab.mercurial-scm.org/D12524