var x = [1, 2, 3]
x.erase_at(3)
assert_equal([1,1], x);
