add changes to tests for hadoop