An experimental test of the isobaric multiplet mass equation