Allows to check that an app behaves as expected by sending messages fron PhantomJS.