Implement str.rfind() and add tests for it.