test(lua): add normalize and type_check tests for terms containing metavariables

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
test(lua): add normalize and type_check tests for terms containing metavariables