Refactors Teams tests to use @Before.