Flash alerts with doc and test