Move mgmt. tests to core testsuite

Domain tests mostly need it as API contract more than anything else.
I can probably move it somewhere else and rename it.