Added tests. Fixed text for ReturnCode.UNKNOWN_ATTRIBUTE.