fix test - add spin wait