clear method test