Vector basics test, plus a bugfix