Clear button now works fine, but the corresponding test fails, possibly because the redirect is not being followed