fix(tests/kernel/expr): remove unused function

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