Adjust for API change when skipping tests