integration test https://wso2.org/jira/browse/ESBJAVA-3057
adding integration tests for https://wso2.org/jira/browse/ESBJAVA-3057
Merge pull request #22 from dushansachinda/master

fixed integration tests https://wso2.org/jira/browse/ESBJAVA-3057