NASA is planning to deflect an asteroid in 2022 — to learn how to protect Earth