pairs completeness changes on test.r