Updated diff test to read from text fields