Added tests for read-only property. Not sure on correct approach to more generically test for an expected error to be thrown.