Testing flash messages helper spec