Fixes several integration tests in test_dataset_management
Fixes more tests
Fixes dpms tests
Merge pull request #1895 from lukecampbell/dmfixes

TEST - Fixes broken coi_pycc tests.