The upgrade to JUnit 4.11 has revealed some integration tests whose success was dependant on them being run in a particular order. To overcome this the classes containing these tests have been marked with @DirtiesContext configured to renew the application context after each test method.