make tests part of metrics_test package