Implemented test spec for readonly instance wrappers
Implemented ReadOnly() method to create and return a read-only version of an instance