Renaming inside main
Make replacement tests more implementation-agnostic