In a testy way; in the manner of someone who is testy.
From testy + -ly.
Practice speaking and memorizing "testily" and many other words and sentences in English.