kitchen tests added

Also some bugs were fixed in the cookbook's files.