Testing the maintenance middleware