useless args moved to test parts
using SQLAlchemy rewrite index.py
modified to fit the refactoring