Rewrite gatherInfo() in order to create classes in dict(), modified test.py to test methods in classes