Refactor ComputeCapabilitiesFilter test cases
Refactor ComputeCapabilitiesFilter test cases

With so much duplicated code in the test cases, it's really very
difficult to figure out what each of the cases are testing. DRY
the tests up to make them much more clear.

Change-Id: Ie075d44165996fc4f744a49ddbdfd7c49a0c862e

n0ano/gantt,n0ano/gantt