Fixes in cost analyzer test.