improve tests for `ClassView`