test: twitterapi: fix another possible test failure case