add missing 'clear_messages' in test

spotted by benabik++