unit test Unix task port

Signed-off-by: Wilfried Chauveau <ithinuel@gmail.com>