fixed tracker tests to avoid race condition