buildProduction: Take the canonical url into account when moving to /static/
Marked intermittently failing test as pending.