Fix for profile unittest, and wsgi fix
* Unittest will be more stable because loop for list (without suggestion)
* WSGI has been configured for prod settings