* eslint: Enable default-case rule * Fix missing default cases * Fix tests failing due to incorrect assumptions