Fixed tests.

Fixed tests to work with asynchronous prompt mechanism.

Also removed redundant references to promptMan module.

Jira issue: WP-956