spec: Allow longer timeout on reference checks

gaussian sometimes takes just over 4000ms on Travis