Revert "remove test-apiv2"

This reverts commit 8d4cdcdbae1bcbd951c96216eb4482f324ba444e.