fixed test/proxy-spec.js and test_helpers/prompt-answer-factory.js