Test and fix gen_stomp
Integrate stompm into gen_stomp.