Created methods for the netfilter chains in rspec so they can be reused across tests
Fixed some sillyness in sg handler where the same database lookup happened twice
Added another test scenario to rspec