core: dthread: add 'yield' test, all done

Signed-off-by: Eduardo Silva <eduardo@monkey.io>