Add a test for sceKernelTerminateThread(), etc.

Mostly for the return codes, but to check for rescheduling.

-[Unknown]