Added a new test module with atomic context.
Using msleep() when the process can sleep.