Fixed coverage reports.
Added test cases for array of domains.
Fixed bug calling matchHostName
Added lodash and debug.