Add trait test case with an enum