Move Producer and Consumer instantiation tests to separate classes.