Fix unit tests.

Remove references to old getResourcePath() method.