add test for figure caption conversion