Restrict a few failing tests to run on the right Ruby versions.