added reverse order test and functionality