test closing