Add some tests for app.py logic.
Add some tests for benchmark page.