Fixed the ordering in test_apply_reduce