Fixes spectests that were broken by 156de3be59136b3b75f4eb51c7ee1697667a5cfe