Added team factory tests.