add syscalls - sleep and time
fix bug and add testcase
fix bug