Refactored when_test to use 'mock' mocking library
Refactored when_test to use 'mock' mocking library

michalbachowski/pypromise,jubo/pypromise,jubo/pypromise,jubo/pypromise,michalbachowski/pypromise,michalbachowski/pypromise