added test and fixed setHost
fixed package readme and bumped version
Merge pull request #5 from tlivings/master

fixed setHost