CHanged to use scaled comparison in test