update parallel magic tests with capture_output API

capture_output now grabs rich data, which changes the results to check, so the tests needed updating.

Also updates some of the test calls with 2.7 APIs.