Add active pattern client test.