Tests for vector space operations.
Found a bug, and squashed it.