Fix static router spec to work on CI