Fix PhantomJsTest result processing