add test for build-approx-patterns-two-way