Fixed tests, disabled default Java serialisation.