Add unit test for find_paths