Added ManagementConsole API and some missing tests.

this is wrong. Your argument is not an array (which is why the signature does not match)