Tests to illustrate how refs work