This commit adds a test case that checks that vector search metrics are correctly added and have the correct value.