you should also assert that both a and b appear in the output, perhaps `assert_match %r%^a %, @ui.output` and the same for b