Refactored SDMC tests into more logical, self-contained tests.