Removed prints, cleaned PEP'
Fixed index token.
Fixes the tests.