Minor code refactoring - assertions changed to comparison with String "estimatedResult".