skip generation if output up-to-date
small update in tests