Use assertIn instead of assertEqual for pillar newline tests