flatMap on Optional
Tests for flatMap on Optional.