Fix test metrics. Little hack in fixes.py that can be removed when numpy https://github.com/numpy/numpy/issues/3484 is fixed.
Little cleanup to the fixes implementation.