Add test for jshint to check if the OSError exception is raised.