Bugfix, add chef-sugar and tests