adding some test cases of omniture-facade.js
fixing an issue identified while writing tests