Test cases for FromInterface() and GetPath()