Fix test for __get magic method