wrapped tests around a transaction that would raise an execpetion so that the databse just does a rollback. removed unnecessary delete methods