Added a test for executable bit to filegen