test/thread: Rename entry function