updated the tests for the new foundation layout and some of the flash messages