Testing flash messages