Fixed unit testcases that fail due to changes in Chef 12