karma.conf.js as embedded resource
fixed parsing of failure element