Production and testing of displays