dock-apps-builder: add test code