Improved test case according to the attendee registration and improved code.