test.sh: Check threaded core files too

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>