add support for capAdd

@cjellick This is the same PR from a different branch @ibuildthecloud 
If this test actually calls you need the @if_docker decorator.