Added tests and modified array access trait to handle indirect modification of overloaded properties