Modified analyze-spec.rb