Fix unexpected stevedore traceback in tests

Fix tests/agent.py: make use of test stevedore manager to avoid loading of real extensions

Change-Id: I258e988e505d933b8359b62c0b65ebdb76dca8e5
Merge "Fix unexpected stevedore traceback in tests"