test: test wait pkg