Improved Hadoop integration test and added CDH3.