A test inserted to check if the vector to subset by is empty.