swap initial and final tests