Correct unit tests by avoiding to change chart json when its useless