add tests for cap_add

@cjellick