Fix three harmony tests that failed on Android and the RI.

(cherry-pick of 0fa2848eccd0016198dc99df683c6ba0ff9b0caa.)

Bug: 7288264
Bug: 7307154
Change-Id: Idd1fd012606341bf0ae47840e9b5fd6e6fcd31b7
1 file changed