Add Seniorio namespace, and fix failing tests by saving index in constructor