Add debugging output to rname for nosql tests