Added test for flash widget