Martin Broesamle
Fixes #10877.
Includes new test for attribute getters and setters.