added ispair unit test