BD-235 Create unit like tests for depolyed DAP instances.
BD-236 Fix DAP tests.php so loop is done in asynchronous manner