Add spec for #694
Fix __dirname for page in asar package

Fixes #694.