Add test case to metrics_test.clj