[ADD] tests.common: added testcase for ref() and browse_ref(), renaming existing...