Modified Assertion to ensure it does not try to load classes.