reorder tests to avoid test-breaking side-effects