MixedClassCollector with tests