Merge "Move 41 tests to libcore, closer to the tested code. (2nd half)"