Repaired test with ValueReference