test for file validation multiple rules