some tests for accessing fields from classes