libcore: More core test fixes