better unit tests for value replacer and renamer