refactor: make ATG wait busy loop test first