metalua: add test

Closes #28518.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>