fixing tests on data, fixing issue with add not showing data in grid, need to factor out the promise code that refreshes the list as its repeated in multiple places