Add lightweight test runner and move some tests into core tests
Merge pull request #6418 from stuartwdouglas/core-management-tests

Add lightweight test runner and move some tests into core tests