Add test to check stack is not executable, to prevent #703 regressions.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>