getlantern/lantern#1618 Fixed unit test for flashlight