fixed unit tests for the ctmixture refactoring