Added myJUnit test of checkinformation() in Register