add support for dns
add support for capDrop
fix boolean variables in tests
refactor tests