Add test on analyze