test: add a test for array table case