Fixed up tests and added xunit to tools so that the build will run tests during packaging