chartbeat: port tests, update mocha

removed the `'should allow overriding global window._sf_async_config'` test because it wasn't testing what it said it was, if we ever want to make the logic actually do that we can add the test in

cc @lancejpollard