Vector basics test, plus bugfixes