Added flagtest in ui-example