add first functional test.
display flash messages and add first functional test.