Improve test coverage for Arrays.stream(). am: 77cd1d2eff am: 4447b8f48a

Change-Id: I6b4378c1aa23deeae554625ecf3022e60840ecc1