Test navigating to class object and object fields from Java