Vice President Kamala Harris, responding to former President Donald Trump's claims about her IQ, said she would take a cognitive test