Lint index
Change method name
Add new test cases