Fix a missing "@Test" annotation on lastIndexOf method