create controller tests for the team controller

these tests are a lot slower than model tests because I actually have to
hit the database, but they are a lot faster than acceptance tests.
moving forward I'll try to write more controller tests and less
acceptance tests.