Fix flaky testTextInputV3Interface
In a74c4361, we changed behavior that every commit() will be followed by a done(), which makes this test might catch a different done() from server. Change the spy to make sure it exhaust all other done before checking the one expected.