Support Chef 11 in attributes unit tests.