Tweaks to the analytics unit test.