Fixed a testing order bug.