The test cases for the HelloWorld example is for the IronJacamar/Standalone distribution, not for AS7. So you need to integrate the .rar with how testing is done in AS7, and if you are using JBoss Dev Studio you would be able to get some help in their forum.
To learn more about resource adapters here are some links to get you started