test: group tests by scalar or vector