Add tests corresponding to http://code.google.com/p/android/issues/detail?id=8258

All this stuff "works for me" in 2.3 and 3.0, but guarding against regression
is cheap.

Bug: http://code.google.com/p/android/issues/detail?id=8258
Change-Id: I9de885fe644ea2229f9fd094c7509b4f764e0222
1 file changed