Add test for PathObserver.path