Add test of performance when routes being reloaded

Also refactored performance spec to reduce duplication