Fix client metadata extractor test

@zachmullen This version has worked three times in a row with no failures, so hopefully it fixes the issue.