Add Model.resetData function, which resets data (useful for tests)