tests: expose API for external tests
tests: expose API for external tests

Fixes QubesOS/qubes-issues#1800

woju/qubes-core-admin,woju/qubes-core-admin,woju/qubes-core-admin,QubesOS/qubes-core-admin,woju/qubes-core-admin,marmarek/qubes-core-admin,marmarek/qubes-core-admin,QubesOS/qubes-core-admin,QubesOS/qubes-core-admin,marmarek/qubes-core-admin