add 'flashMessage' directive test

add 'flashMessage' directive
add 'flashDuration' attribute for 'flashMessage' directive