Added a test for scale()