Add test case of meta-table function