Validation and tests for registering and updating the main information