added custom median metric to test results