Filter manager unit tests

Some simple unit tests for security groups.