test cleardown