Implemnting functional tests that modify database.