1. You don’t need to invent own wheel: sql-tap already                  has test:do_eqp_test() function. Done.                 2. Why did you divide tests and put them to different test suits?                     > test/sql/gh2966-indexed-by.test.lua                     > test/sql-tap/gh-2996-indexed-by.test.lua                     Put them both to one file to sql-tap/ . Done. Branch:  https://github.com/tarantool/tarantool/tree/bn/gh-2996-indexed-by