fixed test so they do not persist test changes in db