Fixed tests to use flask's test client.