tests for flatMap & fallbackTo failure caused by null returned from transformation function