add a test for an empty vector