Tests: fix assertion argument order: expected should be first.