Dm plugins archive tests

This has two fixes and then adds a bunch of tests for the archives/changes.go code

Unfortunately one test is disabled because it fails (due to bugs) but we want to fix those so we can enable the test.