Added test for field access