I don't believe that this is actually renaming anything.  The check at the end of the test also appears to only be checking that the getDimensions() call is returning a list equal to the list passed in here.  Not a checking any of the values of the individual events.