Add a test for add_path