ref tests: be less sensitive to trailing spaces

4 jobs for master in 5 minutes and 5 seconds (queued for 2 seconds)