TEST: Added tests for metrics module