core: Add vector test.