Added tests for metrics data