Call tear down so the flask server stops

Flask server wasn't being closed after the test completes,
because a test class wasn't calling tear-down.

Change-Id: I1794041d137e18ff2e1dc8c63653c4d9cb15a500