test-capemgr: Add an illustrative test for capemgr