Add tests for auto-scale pattern