rhbz1102964 - fix test and add safeguard for clearing session
generate copyTrans test data