Write unit test for WebPostInputSequence API.