Fix typos in mockPrompt tests.
Ensure prompt default functions are called when mocking.
Pass mocked answers object to prompt default functions.
Merge pull request #575 from evocateur/fix-mock-prompt-default-fn

Fix treatment of mockPrompt() default functions