added test case to make sure the exec bit is kept