* namenode parameter should be a string
* added a default port of 8020
* corrected tests

fix typo