Add changed_when test