Changes to ApplicationTests and TeamIndexPage to not rely on indexing.