Add test for history navigation being skipped in readline mode