Lcg/chef 5015

this adds spec tests to #1347