Fix intermittent failure in autoscaling tests

Tests for autoscaling suspend and resume sometimes fail because of an
order issue. The branch changes the mock calls to not rely on order.

Change-Id: I74bcde5c6b486fecbb2c2ed0685ce18c786aa974
Merge "Fix intermittent failure in autoscaling tests"