Fixed duplicate tests for valid file