checking output of value substitution