Add ufw_logging variable to tests

This has been tested on a server and worked so I'm confident of the
changes - upstream do request an addition to the tests though.