tests: caps: add check for caps with features intersection

Checks that a caps without features doesn't intersect with
one that has features
Abort unittests when run in gdb