fix team page; added tests to verify the index, team and profile pages render successfully