Move mgmt. tests to core testsuite

yeah agreed but current build uses arquillian to inject url of deployment based on which host & port are then given.
We don't have that in core anymore. 
Whole test is bit backwards given what is testing and how.
It is not optimal but for what it tests it is perfectly fine.