Project: mesos
Issue MESOS-5228: Add tests for Capability API.
Add basic tests for the capability API.
Story points: 3