Multiple fixes (TCK, cherry-pick from 2.3 and a tweak on a script to replace hornetq)