add js test
update test split out uiFlashMessage