Fix failed tests

Unit tests:
* Requirements were set as a dict, but later in the test the order was checked
* Name parameter for database was not set in test settings

Functional tests;
* Fix for bug, that fail deployment with empty workflow was merged
* Now the deployment finishes without failures

Change-Id: Icdf5a250687e38da6a7aea239952b43d97cf725d