Test clear method