unit tests for Inspector.get_path