(FR #1533) fix error in unit tests

array_intersect became less forgiving in PHP 5.4

Change-Id: Ic725dff6cce8c28e16668d2f5db384e32a4c0175