add hide and destroy method
modify test