Refactored acceptance test to use direct database updates.