Fixed tests for vector operations