Add tests for wait
Add tests for wait

These are more fragile and implementation-dependent than I'd like, but
they will work for now.

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>

kevinoid/appveyor-status,kevinoid/appveyor-status,kevinoid/appveyor-status