test: add a test for searching existing table