added tests for scale up and down