Add base JS unit test spec for global.js bug 896961