Convert the autoscaling policy tests into unit tests

Change-Id: I97e13307231c61da7147e02f5706c86cda10c0d9
part of blueprint decouple-nested
Merge "Convert the autoscaling policy tests into unit tests"