Fix unit test after I29be3acd

Change I29be3acd started passing an undefined variable (which defaults
to null) to a method declared to take only arrays.

Change-Id: Id01d797f9ee5da4cc9f934ba3efcb6d3744cf5ba