Unit tests for scaling validation

Fixes: bug #1202567

Change-Id: Ifeb1c75c4fc220528568db1a6c10ceec84c4cfb4
Merge "Unit tests for scaling validation"