Food allergies

I know this may be a question I may need to direct towards my pediatrician, but just thought I'd throw this question out there to ask any experienced mom...
In relation to food allergies:
What's the earliest age to test for food allergies? 
How would I know if my baby/child has a food allergy?