Added test for `logErrors` option
Fixed issue with `logErrors` option not to break `gulp` pipe