Fixed issue with content sources unit test.

Only the newest versions of mock seem so support side_effect being an iterable containing mixed values (to be returned) and exceptions (to be raised).