rewrite autoscaling with tests