Fix integration test by calling to_a since the rspec expect syntax doesn't seem to trigger that.