Add tests for "follow redirects" behavior

Bug: https://code.google.com/p/android/issues/detail?id=194495
Bug: 25928343
Change-Id: Ic0ff2f94f7de0caa0e5c76be7443b0742cb96977
1 file changed