Add @DirtiesContext Spring annotations to fix context reload problem.