Fix periodic trigger and exclude quoting

Fix periodic trigger, quote exclude patterns and run tests longer to catch errors.