Split the Optional(|) task tests up

Split out each different optional use case into its own test case with
its own root to make it easier to maintain and to debug when something
goes wrong.

Change-Id: I4787e1c366d8b15f9715d9a356f7d570b418c725
1 file changed