implemented ingredient tests