Refactor DAO test to pull transaction logic into super class