First test with semaphores syncing two tasks