bugfix in test7 and also introduced the ScalingFactor