tests for parseIngredient