fix test to pred