added get-ref test