fixed a bug that allowed remembering-text test to get stuck