Fixes new test metric genertor.