Distinguishing between SU(5) and flipped SU(5)