fixed failing unit tests that failed in release mode (no .Metrics() set, missing copy always on some json files)