Ilan levelled from Carlton Cole's cross and Radoslav Kovac put West Ham ahead from the rebound after Chris Kirkland had parried Mark Noble's free-kick.
Glamorgan's Robert Croft and Kent's Mark Ealham are the surprise names in the England squad named for Thursday's first Test against West Indies at Edgbaston.