add test in header insertion