tests: fix wait_sheep_stop order

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>