Added test for accessing properties