Add tests about lastIndexOf (51% coverage)