Fixed requests in test clearing session

Leveraged app context to make this happen.
See:

http://pythonhosted.org/Flask-Testing/#testing-with-sqlalchemy
http://stackoverflow.com/questions/19395697/sqlalchemy-session-not-getting-removed-properly-in-flask-testing