test: make sure permissions are set on executable file.