Merge pull request #20 from dushansachinda/master

added integration test, executed with TAF all tests passed {https://wso2.org/jira/browse/ESBJAVA-3052}