db tests with rollback