more ref test stuff