Remove duplicate test classes

Some test classes were copied from this into libcore, cleaned up
and modified to match the expected Android behavior but were not
removed from here. This cleans up those duplicate classes.

(cherry picked from 8620cdfeadfdf23414dc6613d16f60e18f130329)
Bug: 27382072

Change-Id: Icfa230f07963300caca99d4a27db578555bc32f0
6 files changed