test for executable with stat()