Add a spec to catch a Safari JIT bug. [closes #798]