fix smoke test to be valid when metadata redirecting is activated