add test for RT#76749 - pairwise issues warnings

RT#76749 - pairwise issues warnings about $a and $b being used only once
Test added to prove