Unit test

Add testFirewallOn() and testFirewallOff on FirewallListenerTest
Unit test

Refactor FirewallListenerTest