test cases including field access