Add vector and rectangle tests