printing out test records pairs using curses