Declare tests synchronously

Using blocking "wait" calls in order to match current integration test
style and avoid asynchronous control flow.