Fix order of arguments for `$this->assertEquals()` in tests