Adding toString() for enum value and corresponding test