Flaskr Write Unit Tests.