testing the list of substitutes