Setup test code metrics