Fix failing unit test for #304

Clean empty and commented lines from the service file