resolved unit tests failing due to the use static metric class sharing registry between tests