fix tests: read-only accessor test error messages depend on whether Class::XSAccessor is installed or not