fixed tdd database rollback script. fixed tests