Improve test coverage for Arrays and Streams. am: e4bc3ffb11 am: 134549c512

Change-Id: I754670e89454b691907848010631bfa6f6a3d8c2