updated tests to reflect correct ordering