reverted test to quoted rname
rname passed asis. freedom in table names and field names. Case sensitivity in field and table names