Added tests for scaling