add some tests for rfind