test ruby: add sleep to ensure child process started