Added test for multitasking