Added tests
Fixed lastIndexOf. Added test of implementation