Apply rule to clean tmp and c files in tests folder