Fix `test\Unit` to be 5.4.12 compatible.

Due to some changes on `strtr()`, it looks like this function throws exceptions since 5.4.12 when objects are passed as parameters.