testing db changes in tests