Fixing some test to support semaphores
Completed test_return_list tests
Fixed test task list. Fixed a blocking wait