corrected tests for user interruption of training