rm() scoping tests