Added test for multiple flash messages