RR: removed deprecated hdfs calls
Added some test scripts.