test resource renaming