fixed ordered list check, fixed test