Molecular dynamics simulation of the test of single-walled carbon nanotubes under tensile loading