If you got code 55 from which your description is saying then that means The Ecu is telling you theres nothing wrong with the engine and/or components. However, The Transmission has it's on computer, therefore it's own diagnostic procedure.Heres the link to follow that procedure:
zer...age=2 Please make sure your car is FULLY WARMED up before doing this procedure.
But on another note.. What is it exactly you are looking to fix?I know you had the problem with the trunk popping and all but with the revving and shutting off, It sounds like only one thing to me because i've had that problem. Possibly the Mass air flow sensor. This part is usually overlooked and causes many problems such as odd shifts, poor shifts, poor gas mileage, revving of the engine, stalling of the engine, lack of power, and can even make other components of the vehicle look like they are bad (i.e. Transmission)