simple ref test