`std::os::args()` returns a Vec and ~[T] doesn't implement `FromIterator`

* `std::os::args()` returns a Vec, which can't be indexed with [n].
* Test data was collected in a `~[T]`, but `~[T]` doesn't implement `FromIterator`. Replaced with Vec and vec![...].