Implements rel_path_to + tests