Properties of the square-well fluid of variable width: IV. Molecular dynamics test of the van der Waals and long-range approximations