Fixed default value for history length in configuration activity.
Updated test activity.