Updating unit tests so that the auto register with the test runner.
Added functionality to request xml output from the test runner. Also made return value non zero when there is a failure.