requirements.txt: added mock
integration.py,test_ingreation.py: testing create_app function

Also fixing some broken things on integration.py