Add tests for debug with enums.