Testing for clear and update