ref value test