refactored hack to makeintegration tests running with surefire