testBacktrackingWithCustomReverseListImplementation