change API: expected first, then actual