Move mgmt. tests to core testsuite

Also if you think it is a big deal it is trivial to add that sort of injection.