Fix unittest for variable file ordering in the cookbook