adding test for read only getter