add the fail test for ref.