Test does not rely on sleep anymore