Add tests for metrics functions