Added istanbul test coverage