added test for scaling