Add unittest for KAT pagination