modified test_sweep_line.js