Fix bug in helpers.mockPrompt()

Inquirer API allow a single prompt item to be passed as parameter.
`mockPrompt` must also work with this signature.
Implement the RunContext test helper class