Add analysis test