Checking that input is cleared after each handle