using static metric registry manager to isolate test for better predictability