Add test for lint failures

Cover clean and no-clean lint failures.