Something is fundementally wrong with TestCmdSTARTTLS. I don't think it is failing because the functionality is wrong, but because the unit test is well...not like any of the others.
Up for grabs.
Just delete the test for now.
It is working in my setup. What is your StackTrace?
I see now, it assumes JBoss + the mail services stuff is already running. It should be atomic and set its own stuff up. I'll work on fixing it.