Add a test for lineinfile