Reorganizes tests.