Assume that an array is supplied if value is null.
Modify tests to cover everything.