I'd suggest at the least pulling this out to its own test class, and maybe even its own module.
It'd be nice to have some tests which trigger each of the problems covered by ```transform_vectors```. For example, if you could come up with a case which transforms a single vector and triggers the x and shift problem that you have implemented.