resetNameAssignment to be tested