test(list): add tests for improving code coverage

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
refactor(kernel): simplify expr_eq

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>