Added tests and comments

	modified:   app.py
	modified:   requirements.txt
	modified:   test.py