Caps A are a subset of caps B even if caps B doesn't have all fields of caps A. Also add a unit test for this.