adding tests to assert that events protect instance members when created