Fixes #114
Merge pull request #115 from yattir/master

Fixed support for -host flag in tests