added test for rfind, removed limit=1