new regression tests for classes.