Business logic reordered to be tested