Test refactoring
Switched tests to create stubs at imposter creation time, and refactored
to use promiseIt syntax to avoid common mistakes on async tests