have passing test for translatePath.