posix: added sleep and usleep
test: added test case for posix sleep