Remove not needed str_replaces
Remove not needed test code