Add java test code
Remove generation of RabbitMQ version