I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.
Note: Backticks are not single quotes.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
If you copied and pasted the replacement values from somewhere, it is possible that you picked up some extra hidden characters when you pasted them into your code. Try deleting the replacement values and manually typing them just in case you had some hidden characters in there. The FCC tests are not expecting to see any hidden characters, so they could be failing because of them.