Sanity checks for training