added empty unit tests
implemented global rulefile unit tests
adjusted test config to avoid tests conflicting with live config
Fixed global rulefile test setup/teardown