add test for ast fix #13