add istanbul test coverage