Fix test state not being passed through the bridge

Test state was not passed through the PhantomJS bridge causing XUnit output to not reflect test failures properly. This patch fixes that.
Merge pull request #105 from BYK/patch-1

Fix test state not being passed through the bridge