Better test for executable