Merge "Test for ref counting on returned rs objects"