Fix some incorrect assertions in test.  Add yield so archive thread gets
to run. #710