Added integration tests against SEVERE and WARNING checking in stdout, and added shutdown SEVERE and WARNING checking in stdout