Added test for chech when more than two pairs have been add.