Fix two tests that weren't passing on Android or the RI.

Change-Id: I8d3cc490a24211ffaff1bafec835f6dbbd877920
1 file changed