added tests for scale_helpers._applyLinearScale